package com.egor.services;

import com.egor.data.entity.Department;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface DepartmentService {
    List<Department> listAll(Pageable pageable);
    List<Department> listAll();
    void save(Department department);
    void delete(Department department);
    List<Department> findAll(String text, Pageable pageable);
}
